package cn.net.dpi.shp.model.entity;

import cn.net.dpi.shp.handler.PolygonTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.locationtech.jts.geom.Polygon;

/**
 * 箭头实体
 *
 * @author ake
 * @since 2024-12-25
 */
@Getter
@Setter
@TableName(value = "hd_arrow", autoResultMap = true)
public class HdArrow extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 设施编号主键，全国唯
     */
    private String objectId;

    /**
     * 图幅编号
     */
    private String meshId;

    /**
     * 行政区划代码
     */
    private String adminCode;

    /**
     * 设施几何形态3：面
     */
    private String objectGeo;

    /**
     * 关联车道编号
     */
    private String refLane;

    /**
     * 箭头方向复合箭头用箭头组合表达，以“|”分隔
     */
    private String direction;

    @TableField(typeHandler = PolygonTypeHandler.class)
    private Polygon geometry;

    private Long fileId;

    private String version;

    private Integer versionFlag;
}
